Skip to content

Remove React Router integration.#14

Merged
10xjs merged 1 commit intonextfrom
remove-router-integration
Dec 23, 2016
Merged

Remove React Router integration.#14
10xjs merged 1 commit intonextfrom
remove-router-integration

Conversation

@10xjs
Copy link
Copy Markdown
Contributor

@10xjs 10xjs commented Dec 23, 2016

Remove RelocationRouter component and related logic from state and connect component. Tightly binding this lib to React Router is not the best idea.

The behavior removed here can be easily replicated by manually dispatching setComponent from the componentWillMount method and removeComponent from the componentWillUnmount method of a route handler component.

Remove `RelocationRouter` component and related logic from state and connect component. Tightly binding this lib to React Router is not the best idea.

The behavior removed here can be easily replicated by manually dispatching `setComponent` from the `componentWillMount` and `removeComponent` from the `componentWillUnmount` method of a route handler component.
@10xjs 10xjs merged commit b99e0e4 into next Dec 23, 2016
@10xjs 10xjs deleted the remove-router-integration branch December 23, 2016 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant